package com.hongye.app.model;

import com.jfinal.plugin.activerecord.Model;

public class BuyerAlipayModel extends Model<BuyerAlipayModel>{
	
	private static final long serialVersionUID = -3178808507706403714L;
	public static final BuyerAlipayModel dao = new BuyerAlipayModel();
	
	/**
	 * 根据用户id，得到支付宝
	 * @author liushaomin
	 * 2016年12月5日
	 * @param seller_id
	 * @return
	 */
	public static BuyerAlipayModel findByUserid(String buyer_id) {
		BuyerAlipayModel buyer_alipay = dao.findFirst("	SELECT * FROM buyer_alipay WHERE buyer_id= " + buyer_id);
		return buyer_alipay;
	}

}
